package day1027.dem2.three;




/**
 * @program: fanxing
 * @description:
 * @author: 诸葛龙辰
 * @create: 2022-10-27 16:28
 **/
public class Test {
    public static void main(String[] args) throws Exception {
        //通过类名获取
        Class<Rng>  dogClass = Rng.class;
        Rng rng = dogClass.newInstance();
        Rng rng1 = dogClass.newInstance();
        System.out.println(rng==rng1);
    }
}
class Rng{

}